package com.example.demo.mapper;

import com.example.demo.bean.SCustomer;
import com.example.demo.bean.SRegion;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SRegionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SRegion record);

    SRegion selectByPrimaryKey(Integer id);

    List<SRegion> selectAll();
    
    List<SRegion> selectById(Integer id);

    int updateByPrimaryKey(SRegion record);
    
    List<SRegion> selectByName(String name);
    
    int batchDelete(@Param("id")int[] id);
}